﻿namespace RouteMaster
{
    public class BusStop
    {
        private readonly int _id;
        private readonly string _placeName;
     
        public BusStop(int id, string placeName)
        {
            _id = id;
            _placeName = placeName;
        }

        public int ID
        {
            get { return _id; }
        }

        public string PlaceName
        {
            get { return _placeName; }
        }

        public override string ToString()
        {
            return _placeName;
        }
    }
}
